Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor gas optimizations #336

Merged
merged 6 commits into from
Aug 18, 2023
Merged

Minor gas optimizations #336

merged 6 commits into from
Aug 18, 2023

Conversation

moodlezoup
Copy link
Contributor

No description provided.

@MathisGD

This comment was marked as outdated.

@MathisGD

This comment was marked as outdated.

@moodlezoup

This comment was marked as outdated.

@MathisGD
Copy link
Contributor

It's annoying that we end up with mulDivDown in solidity and mulDivUp in yul 😄

@MathisGD MathisGD marked this pull request as ready for review August 18, 2023 21:18
Signed-off-by: Merlin Egalite <[email protected]>
@MathisGD MathisGD requested review from a team, Rubilmax, MerlinEgalite, pakim249CAL, Jean-Grimal, makcandrov, QGarchery, peyha and MathisGD and removed request for a team August 18, 2023 21:19
MerlinEgalite
MerlinEgalite previously approved these changes Aug 18, 2023
@MathisGD
Copy link
Contributor

I switched mulDivUp to full solidity too, because it reduces the gas cost on average with our yarn tests

MathisGD
MathisGD previously approved these changes Aug 18, 2023
Jean-Grimal
Jean-Grimal previously approved these changes Aug 18, 2023
@MerlinEgalite MerlinEgalite dismissed stale reviews from Jean-Grimal, MathisGD, and themself via 7b21dd0 August 18, 2023 21:33
@MerlinEgalite MerlinEgalite merged commit 5e29dd4 into main Aug 18, 2023
@MerlinEgalite MerlinEgalite deleted the moodlezoup/gas-golf branch August 18, 2023 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants